package com.unit2.pojo;

/**
 * @author 李琦 on 2021/8/3.
 * @version java version "16.0.1" 2021-04-20
 */
public class Stu implements Cloneable{

        String name;
        int age;
        public Stu clone() throws CloneNotSupportedException {
            Stu s=(Stu)super.clone();
            return s;
        }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Stu(String name, int age) {
        this.name = name;
        this.age = age;
    }
}
